• UnexpectedValueException

    The stream or file "/opt/Vicarius/production/sys/../logs/3.21.76.249_debug-2024-05-27.log" could not be opened: failed to open stream: No space left on device

    • UnexpectedValueException
      /opt/Vicarius/production/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:108
          {
              if (!is_resource($this->stream)) {
                  if (null === $this->url || '' === $this->url) {
                      throw new \LogicException('Missing stream url, the stream can not be opened. This may be caused by a premature call to close().');
                  }
                  $this->createDir();
                  $this->errorMessage = null;
                  set_error_handler(array($this, 'customErrorHandler'));
                  $this->stream = fopen($this->url, 'a');
                  if ($this->filePermission !== null) {
                      @chmod($this->url, $this->filePermission);
                  }
                  restore_error_handler();
                  if (!is_resource($this->stream)) {
                      $this->stream = null;
                      throw new \UnexpectedValueException(sprintf('The stream or file "%s" could not be opened: '.$this->errorMessage, $this->url));
                  }
              }
       
              if ($this->useLocking) {
                  // ignoring errors here, there's not much we can do about them
                  flock($this->stream, LOCK_EX);
              }
       
              $this->streamWrite($this->stream, $record);
       
              if ($this->useLocking) {
                  flock($this->stream, LOCK_UN);
              }
          }
       

      Arguments

      No arguments.

    • Monolog\Handler\StreamHandler->write(array[8])
      /opt/Vicarius/production/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:119
          /**
           * {@inheritdoc}
           */
          protected function write(array $record)
          {
              // on the first record written, if the log is new, we should rotate (once per day)
              if (null === $this->mustRotate) {
                  $this->mustRotate = !file_exists($this->url);
              }
       
              if ($this->nextRotation < $record['datetime']) {
                  $this->mustRotate = true;
                  $this->close();
              }
       
              parent::write($record);
          }
       
          /**
           * Rotates the files.
           */
          protected function rotate()
          {
              // update filename
              $this->url = $this->getTimedFilename();
              $this->nextRotation = new \DateTime('tomorrow');
       
              // skip GC of old logs if files are unlimited
              if (0 === $this->maxFiles) {
                  return;
              }

      Arguments

      #0
      array:8 [
        "message" => "system constants"
        "context" => array:1 [
          "table" => array:10 [
            0 => array:2 [
              0 => "ENVE"
              1 => "devel"
            ]
            1 => array:2 [
              0 => "ROOT_DIR"
              1 => "/opt/Vicarius/production/sys/.."
            ]
            2 => array:2 [
              0 => "APP_DIR"
              1 => "/opt/Vicarius/production/sys/../Applications/"
            ]
            3 => array:2 [
              0 => "SYS_DIR"
              1 => "/opt/Vicarius/production/sys/../sys/"
            ]
            4 => array:2 [
              0 => "ROOT_APP"
              1 => "radiochisinau.md"
            ]
            5 => array:2 [
              0 => "HTTP_HOST"
              1 => "radiochisinau.md"
            ]
            6 => array:2 [
              0 => "REQUEST_URI"
              1 => "/cautare/spionaj%20Israel"
            ]
            7 => array:2 [
              0 => "FORCE_APP"
              1 => "radiochisinau.md"
            ]
            8 => array:2 [
              0 => "CONFIG_APP"
              1 => "radiochisinau.md"
            ]
            9 => array:2 [
              0 => "APP"
              1 => "radiochisinau.md"
            ]
          ]
        ]
        "level" => 200
        "level_name" => "INFO"
        "channel" => "radiochisinau.md"
        "datetime" => DateTime @1716763588 {
          date: 2024-05-27 01:46:28.200307 Europe/Chisinau (+03:00)
        }
        "extra" => []
        "formatted" => "[2024-05-27 01:46:28] radiochisinau.md.INFO: system constants {"table":[["ENVE","devel"],["ROOT_DIR","/opt/Vicarius/production/sys/.."],["APP_DIR","/opt/Vicarius/production/sys/../Applications/"],["SYS_DIR","/opt/Vicarius/production/sys/../sys/"],["ROOT_APP","radiochisinau.md"],["HTTP_HOST","radiochisinau.md"],["REQUEST_URI","/cautare/spionaj%20Israel"],["FORCE_APP","radiochisinau.md"],["CONFIG_APP","radiochisinau.md"],["APP","radiochisinau.md"]]} []\n"
      ]
      
    • Monolog\Handler\RotatingFileHandler->write(array[8])
      /opt/Vicarius/production/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:39
      abstract class AbstractProcessingHandler extends AbstractHandler
      {
          /**
           * {@inheritdoc}
           */
          public function handle(array $record)
          {
              if (!$this->isHandling($record)) {
                  return false;
              }
       
              $record = $this->processRecord($record);
       
              $record['formatted'] = $this->getFormatter()->format($record);
       
              $this->write($record);
       
              return false === $this->bubble;
          }
       
          /**
           * Writes the record down to the log of the implementing handler
           *
           * @param  array $record
           * @return void
           */
          abstract protected function write(array $record);
       
          /**
           * Processes a record.
           *

      Arguments

      #0
      array:8 [
        "message" => "system constants"
        "context" => array:1 [
          "table" => array:10 [
            0 => array:2 [
              0 => "ENVE"
              1 => "devel"
            ]
            1 => array:2 [
              0 => "ROOT_DIR"
              1 => "/opt/Vicarius/production/sys/.."
            ]
            2 => array:2 [
              0 => "APP_DIR"
              1 => "/opt/Vicarius/production/sys/../Applications/"
            ]
            3 => array:2 [
              0 => "SYS_DIR"
              1 => "/opt/Vicarius/production/sys/../sys/"
            ]
            4 => array:2 [
              0 => "ROOT_APP"
              1 => "radiochisinau.md"
            ]
            5 => array:2 [
              0 => "HTTP_HOST"
              1 => "radiochisinau.md"
            ]
            6 => array:2 [
              0 => "REQUEST_URI"
              1 => "/cautare/spionaj%20Israel"
            ]
            7 => array:2 [
              0 => "FORCE_APP"
              1 => "radiochisinau.md"
            ]
            8 => array:2 [
              0 => "CONFIG_APP"
              1 => "radiochisinau.md"
            ]
            9 => array:2 [
              0 => "APP"
              1 => "radiochisinau.md"
            ]
          ]
        ]
        "level" => 200
        "level_name" => "INFO"
        "channel" => "radiochisinau.md"
        "datetime" => DateTime @1716763588 {
          date: 2024-05-27 01:46:28.200307 Europe/Chisinau (+03:00)
        }
        "extra" => []
        "formatted" => "[2024-05-27 01:46:28] radiochisinau.md.INFO: system constants {"table":[["ENVE","devel"],["ROOT_DIR","/opt/Vicarius/production/sys/.."],["APP_DIR","/opt/Vicarius/production/sys/../Applications/"],["SYS_DIR","/opt/Vicarius/production/sys/../sys/"],["ROOT_APP","radiochisinau.md"],["HTTP_HOST","radiochisinau.md"],["REQUEST_URI","/cautare/spionaj%20Israel"],["FORCE_APP","radiochisinau.md"],["CONFIG_APP","radiochisinau.md"],["APP","radiochisinau.md"]]} []\n"
      ]
      
    • Monolog\Handler\AbstractProcessingHandler->handle(array[8])
      /opt/Vicarius/production/vendor/monolog/monolog/src/Monolog/Logger.php:344
                  'message' => (string) $message,
                  'context' => $context,
                  'level' => $level,
                  'level_name' => $levelName,
                  'channel' => $this->name,
                  'datetime' => $ts,
                  'extra' => array(),
              );
       
              try {
                  foreach ($this->processors as $processor) {
                      $record = call_user_func($processor, $record);
                  }
       
                  while ($handler = current($this->handlers)) {
                      if (true === $handler->handle($record)) {
                          break;
                      }
       
                      next($this->handlers);
                  }
              } catch (Exception $e) {
                  $this->handleException($e, $record);
              }
       
              return true;
          }
       
          /**
           * Ends a log cycle and frees all resources used by handlers.
           *

      Arguments

      #0
      array:8 [
        "message" => "system constants"
        "context" => array:1 [
          "table" => array:10 [
            0 => array:2 [
              0 => "ENVE"
              1 => "devel"
            ]
            1 => array:2 [
              0 => "ROOT_DIR"
              1 => "/opt/Vicarius/production/sys/.."
            ]
            2 => array:2 [
              0 => "APP_DIR"
              1 => "/opt/Vicarius/production/sys/../Applications/"
            ]
            3 => array:2 [
              0 => "SYS_DIR"
              1 => "/opt/Vicarius/production/sys/../sys/"
            ]
            4 => array:2 [
              0 => "ROOT_APP"
              1 => "radiochisinau.md"
            ]
            5 => array:2 [
              0 => "HTTP_HOST"
              1 => "radiochisinau.md"
            ]
            6 => array:2 [
              0 => "REQUEST_URI"
              1 => "/cautare/spionaj%20Israel"
            ]
            7 => array:2 [
              0 => "FORCE_APP"
              1 => "radiochisinau.md"
            ]
            8 => array:2 [
              0 => "CONFIG_APP"
              1 => "radiochisinau.md"
            ]
            9 => array:2 [
              0 => "APP"
              1 => "radiochisinau.md"
            ]
          ]
        ]
        "level" => 200
        "level_name" => "INFO"
        "channel" => "radiochisinau.md"
        "datetime" => DateTime @1716763588 {
          date: 2024-05-27 01:46:28.200307 Europe/Chisinau (+03:00)
        }
        "extra" => []
        "formatted" => "[2024-05-27 01:46:28] radiochisinau.md.INFO: system constants {"table":[["ENVE","devel"],["ROOT_DIR","/opt/Vicarius/production/sys/.."],["APP_DIR","/opt/Vicarius/production/sys/../Applications/"],["SYS_DIR","/opt/Vicarius/production/sys/../sys/"],["ROOT_APP","radiochisinau.md"],["HTTP_HOST","radiochisinau.md"],["REQUEST_URI","/cautare/spionaj%20Israel"],["FORCE_APP","radiochisinau.md"],["CONFIG_APP","radiochisinau.md"],["APP","radiochisinau.md"]]} []\n"
      ]
      
    • Monolog\Logger->addRecord(200, "system constants", array[1])
      /opt/Vicarius/production/vendor/monolog/monolog/src/Monolog/Logger.php:422
           */
          public function addDebug($message, array $context = array())
          {
              return $this->addRecord(static::DEBUG, $message, $context);
          }
       
          /**
           * Adds a log record at the INFO level.
           *
           * @param  string $message The log message
           * @param  array  $context The log context
           * @return bool   Whether the record has been processed
           */
          public function addInfo($message, array $context = array())
          {
              return $this->addRecord(static::INFO, $message, $context);
          }
       
          /**
           * Adds a log record at the NOTICE level.
           *
           * @param  string $message The log message
           * @param  array  $context The log context
           * @return bool   Whether the record has been processed
           */
          public function addNotice($message, array $context = array())
          {
              return $this->addRecord(static::NOTICE, $message, $context);
          }
       
          /**

      Arguments

      #0
      200
      
      #1
      "system constants"
      
      #2
      array:1 [
        "table" => array:10 [
          0 => array:2 [
            0 => "ENVE"
            1 => "devel"
          ]
          1 => array:2 [
            0 => "ROOT_DIR"
            1 => "/opt/Vicarius/production/sys/.."
          ]
          2 => array:2 [
            0 => "APP_DIR"
            1 => "/opt/Vicarius/production/sys/../Applications/"
          ]
          3 => array:2 [
            0 => "SYS_DIR"
            1 => "/opt/Vicarius/production/sys/../sys/"
          ]
          4 => array:2 [
            0 => "ROOT_APP"
            1 => "radiochisinau.md"
          ]
          5 => array:2 [
            0 => "HTTP_HOST"
            1 => "radiochisinau.md"
          ]
          6 => array:2 [
            0 => "REQUEST_URI"
            1 => "/cautare/spionaj%20Israel"
          ]
          7 => array:2 [
            0 => "FORCE_APP"
            1 => "radiochisinau.md"
          ]
          8 => array:2 [
            0 => "CONFIG_APP"
            1 => "radiochisinau.md"
          ]
          9 => array:2 [
            0 => "APP"
            1 => "radiochisinau.md"
          ]
        ]
      ]
      
    • Monolog\Logger->addInfo("system constants", array[1])
      /opt/Vicarius/production/sys/Logger.php:257
                          ->setRows($array);
                      $table->render();
                  }
                  else
                  {
      /*                if($this->logLevel == LOGLEVEL_DEBUG)
                      {
                          $sqlPrint = [];
                          foreach($array as $sql)
                          {
                              if(isset($sql[2])) $sqlPrint[]=$sql[2];
                          }
                          file_put_contents(ROOT_DIR."/logs/{$this->Logprefix}sql.log",print_r($sqlPrint,true),FILE_APPEND);
                      }*/
       
                      $this->monolog->addInfo($title,array('table' => $array));
                  }
              }
              return $this;
          }
       
          /**
           * @param $message
           *
           * @return $this|void
           * @throws \Vicarius\Error
           * @throws \Vicarius\Exception
           */
          public function info($message, $LogLevel = LOGLEVEL_INFO)
          {
              if( !$this->checkFilters() )

      Arguments

      #0
      "system constants"
      
      #1
      array:1 [
        "table" => array:10 [
          0 => array:2 [
            0 => "ENVE"
            1 => "devel"
          ]
          1 => array:2 [
            0 => "ROOT_DIR"
            1 => "/opt/Vicarius/production/sys/.."
          ]
          2 => array:2 [
            0 => "APP_DIR"
            1 => "/opt/Vicarius/production/sys/../Applications/"
          ]
          3 => array:2 [
            0 => "SYS_DIR"
            1 => "/opt/Vicarius/production/sys/../sys/"
          ]
          4 => array:2 [
            0 => "ROOT_APP"
            1 => "radiochisinau.md"
          ]
          5 => array:2 [
            0 => "HTTP_HOST"
            1 => "radiochisinau.md"
          ]
          6 => array:2 [
            0 => "REQUEST_URI"
            1 => "/cautare/spionaj%20Israel"
          ]
          7 => array:2 [
            0 => "FORCE_APP"
            1 => "radiochisinau.md"
          ]
          8 => array:2 [
            0 => "CONFIG_APP"
            1 => "radiochisinau.md"
          ]
          9 => array:2 [
            0 => "APP"
            1 => "radiochisinau.md"
          ]
        ]
      ]
      
    • Vicarius\Logger->table("system constants", array[10])
      /opt/Vicarius/production/sys/System.php:93
              }
       
              public function startWeb()
              {
       
                  $this->log->table('system constants',[
                      ['ENVE',APPLICATION_ENV],
                      ['ROOT_DIR',ROOT_DIR],
                      ['APP_DIR',APP_DIR],
                      ['SYS_DIR',SYS_DIR],
                      ['ROOT_APP',ROOT_APP],
                      ['HTTP_HOST',HTTP_HOST],
                      ['REQUEST_URI',REQUEST_URI],
                      ['FORCE_APP',defined(FORCE_APP) ? FORCE_APP : $_SERVER['FORCE_APP'] ],
                      ['CONFIG_APP',CONFIG_APP],
                      ['APP',APP],
                  ]);
       
                  $this->initDB();
       
                  $this->plugin = new PluginsLoader();
       
                  $router = new \Vicarius\Router();
                  $match = $router->match();
       
                  $this->slashtrace->recordBreadcrumb("Router loaded");
       
                  try
                  {
                      if (!empty($match['name']))
                      {

      Arguments

      #0
      "system constants"
      
      #1
      array:10 [
        0 => array:2 [
          0 => "ENVE"
          1 => "devel"
        ]
        1 => array:2 [
          0 => "ROOT_DIR"
          1 => "/opt/Vicarius/production/sys/.."
        ]
        2 => array:2 [
          0 => "APP_DIR"
          1 => "/opt/Vicarius/production/sys/../Applications/"
        ]
        3 => array:2 [
          0 => "SYS_DIR"
          1 => "/opt/Vicarius/production/sys/../sys/"
        ]
        4 => array:2 [
          0 => "ROOT_APP"
          1 => "radiochisinau.md"
        ]
        5 => array:2 [
          0 => "HTTP_HOST"
          1 => "radiochisinau.md"
        ]
        6 => array:2 [
          0 => "REQUEST_URI"
          1 => "/cautare/spionaj%20Israel"
        ]
        7 => array:2 [
          0 => "FORCE_APP"
          1 => "radiochisinau.md"
        ]
        8 => array:2 [
          0 => "CONFIG_APP"
          1 => "radiochisinau.md"
        ]
        9 => array:2 [
          0 => "APP"
          1 => "radiochisinau.md"
        ]
      ]
      
    • Vicarius\System->startWeb()
      /opt/Vicarius/production/public/index.php:4
      <?php
          require_once __DIR__ . '/../sys/init.php';
          $system =  Vicarius\System::getInstance();
          $system->startWeb();
      //    $system->action->renderPage();
       
       
       
      	

      Arguments

      No arguments.

/opt/Vicarius/production/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php

    {
        if (!is_resource($this->stream)) {
            if (null === $this->url || '' === $this->url) {
                throw new \LogicException('Missing stream url, the stream can not be opened. This may be caused by a premature call to close().');
            }
            $this->createDir();
            $this->errorMessage = null;
            set_error_handler(array($this, 'customErrorHandler'));
            $this->stream = fopen($this->url, 'a');
            if ($this->filePermission !== null) {
                @chmod($this->url, $this->filePermission);
            }
            restore_error_handler();
            if (!is_resource($this->stream)) {
                $this->stream = null;
                throw new \UnexpectedValueException(sprintf('The stream or file "%s" could not be opened: '.$this->errorMessage, $this->url));
            }
        }
 
        if ($this->useLocking) {
            // ignoring errors here, there's not much we can do about them
            flock($this->stream, LOCK_EX);
        }
 
        $this->streamWrite($this->stream, $record);
 
        if ($this->useLocking) {
            flock($this->stream, LOCK_UN);
        }
    }
 

Arguments

No arguments.

/opt/Vicarius/production/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php

    /**
     * {@inheritdoc}
     */
    protected function write(array $record)
    {
        // on the first record written, if the log is new, we should rotate (once per day)
        if (null === $this->mustRotate) {
            $this->mustRotate = !file_exists($this->url);
        }
 
        if ($this->nextRotation < $record['datetime']) {
            $this->mustRotate = true;
            $this->close();
        }
 
        parent::write($record);
    }
 
    /**
     * Rotates the files.
     */
    protected function rotate()
    {
        // update filename
        $this->url = $this->getTimedFilename();
        $this->nextRotation = new \DateTime('tomorrow');
 
        // skip GC of old logs if files are unlimited
        if (0 === $this->maxFiles) {
            return;
        }

Arguments

#0
array:8 [
  "message" => "system constants"
  "context" => array:1 [
    "table" => array:10 [
      0 => array:2 [
        0 => "ENVE"
        1 => "devel"
      ]
      1 => array:2 [
        0 => "ROOT_DIR"
        1 => "/opt/Vicarius/production/sys/.."
      ]
      2 => array:2 [
        0 => "APP_DIR"
        1 => "/opt/Vicarius/production/sys/../Applications/"
      ]
      3 => array:2 [
        0 => "SYS_DIR"
        1 => "/opt/Vicarius/production/sys/../sys/"
      ]
      4 => array:2 [
        0 => "ROOT_APP"
        1 => "radiochisinau.md"
      ]
      5 => array:2 [
        0 => "HTTP_HOST"
        1 => "radiochisinau.md"
      ]
      6 => array:2 [
        0 => "REQUEST_URI"
        1 => "/cautare/spionaj%20Israel"
      ]
      7 => array:2 [
        0 => "FORCE_APP"
        1 => "radiochisinau.md"
      ]
      8 => array:2 [
        0 => "CONFIG_APP"
        1 => "radiochisinau.md"
      ]
      9 => array:2 [
        0 => "APP"
        1 => "radiochisinau.md"
      ]
    ]
  ]
  "level" => 200
  "level_name" => "INFO"
  "channel" => "radiochisinau.md"
  "datetime" => DateTime @1716763588 {
    date: 2024-05-27 01:46:28.200307 Europe/Chisinau (+03:00)
  }
  "extra" => []
  "formatted" => "[2024-05-27 01:46:28] radiochisinau.md.INFO: system constants {"table":[["ENVE","devel"],["ROOT_DIR","/opt/Vicarius/production/sys/.."],["APP_DIR","/opt/Vicarius/production/sys/../Applications/"],["SYS_DIR","/opt/Vicarius/production/sys/../sys/"],["ROOT_APP","radiochisinau.md"],["HTTP_HOST","radiochisinau.md"],["REQUEST_URI","/cautare/spionaj%20Israel"],["FORCE_APP","radiochisinau.md"],["CONFIG_APP","radiochisinau.md"],["APP","radiochisinau.md"]]} []\n"
]

/opt/Vicarius/production/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php

abstract class AbstractProcessingHandler extends AbstractHandler
{
    /**
     * {@inheritdoc}
     */
    public function handle(array $record)
    {
        if (!$this->isHandling($record)) {
            return false;
        }
 
        $record = $this->processRecord($record);
 
        $record['formatted'] = $this->getFormatter()->format($record);
 
        $this->write($record);
 
        return false === $this->bubble;
    }
 
    /**
     * Writes the record down to the log of the implementing handler
     *
     * @param  array $record
     * @return void
     */
    abstract protected function write(array $record);
 
    /**
     * Processes a record.
     *

Arguments

#0
array:8 [
  "message" => "system constants"
  "context" => array:1 [
    "table" => array:10 [
      0 => array:2 [
        0 => "ENVE"
        1 => "devel"
      ]
      1 => array:2 [
        0 => "ROOT_DIR"
        1 => "/opt/Vicarius/production/sys/.."
      ]
      2 => array:2 [
        0 => "APP_DIR"
        1 => "/opt/Vicarius/production/sys/../Applications/"
      ]
      3 => array:2 [
        0 => "SYS_DIR"
        1 => "/opt/Vicarius/production/sys/../sys/"
      ]
      4 => array:2 [
        0 => "ROOT_APP"
        1 => "radiochisinau.md"
      ]
      5 => array:2 [
        0 => "HTTP_HOST"
        1 => "radiochisinau.md"
      ]
      6 => array:2 [
        0 => "REQUEST_URI"
        1 => "/cautare/spionaj%20Israel"
      ]
      7 => array:2 [
        0 => "FORCE_APP"
        1 => "radiochisinau.md"
      ]
      8 => array:2 [
        0 => "CONFIG_APP"
        1 => "radiochisinau.md"
      ]
      9 => array:2 [
        0 => "APP"
        1 => "radiochisinau.md"
      ]
    ]
  ]
  "level" => 200
  "level_name" => "INFO"
  "channel" => "radiochisinau.md"
  "datetime" => DateTime @1716763588 {
    date: 2024-05-27 01:46:28.200307 Europe/Chisinau (+03:00)
  }
  "extra" => []
  "formatted" => "[2024-05-27 01:46:28] radiochisinau.md.INFO: system constants {"table":[["ENVE","devel"],["ROOT_DIR","/opt/Vicarius/production/sys/.."],["APP_DIR","/opt/Vicarius/production/sys/../Applications/"],["SYS_DIR","/opt/Vicarius/production/sys/../sys/"],["ROOT_APP","radiochisinau.md"],["HTTP_HOST","radiochisinau.md"],["REQUEST_URI","/cautare/spionaj%20Israel"],["FORCE_APP","radiochisinau.md"],["CONFIG_APP","radiochisinau.md"],["APP","radiochisinau.md"]]} []\n"
]

/opt/Vicarius/production/vendor/monolog/monolog/src/Monolog/Logger.php

            'message' => (string) $message,
            'context' => $context,
            'level' => $level,
            'level_name' => $levelName,
            'channel' => $this->name,
            'datetime' => $ts,
            'extra' => array(),
        );
 
        try {
            foreach ($this->processors as $processor) {
                $record = call_user_func($processor, $record);
            }
 
            while ($handler = current($this->handlers)) {
                if (true === $handler->handle($record)) {
                    break;
                }
 
                next($this->handlers);
            }
        } catch (Exception $e) {
            $this->handleException($e, $record);
        }
 
        return true;
    }
 
    /**
     * Ends a log cycle and frees all resources used by handlers.
     *

Arguments

#0
array:8 [
  "message" => "system constants"
  "context" => array:1 [
    "table" => array:10 [
      0 => array:2 [
        0 => "ENVE"
        1 => "devel"
      ]
      1 => array:2 [
        0 => "ROOT_DIR"
        1 => "/opt/Vicarius/production/sys/.."
      ]
      2 => array:2 [
        0 => "APP_DIR"
        1 => "/opt/Vicarius/production/sys/../Applications/"
      ]
      3 => array:2 [
        0 => "SYS_DIR"
        1 => "/opt/Vicarius/production/sys/../sys/"
      ]
      4 => array:2 [
        0 => "ROOT_APP"
        1 => "radiochisinau.md"
      ]
      5 => array:2 [
        0 => "HTTP_HOST"
        1 => "radiochisinau.md"
      ]
      6 => array:2 [
        0 => "REQUEST_URI"
        1 => "/cautare/spionaj%20Israel"
      ]
      7 => array:2 [
        0 => "FORCE_APP"
        1 => "radiochisinau.md"
      ]
      8 => array:2 [
        0 => "CONFIG_APP"
        1 => "radiochisinau.md"
      ]
      9 => array:2 [
        0 => "APP"
        1 => "radiochisinau.md"
      ]
    ]
  ]
  "level" => 200
  "level_name" => "INFO"
  "channel" => "radiochisinau.md"
  "datetime" => DateTime @1716763588 {
    date: 2024-05-27 01:46:28.200307 Europe/Chisinau (+03:00)
  }
  "extra" => []
  "formatted" => "[2024-05-27 01:46:28] radiochisinau.md.INFO: system constants {"table":[["ENVE","devel"],["ROOT_DIR","/opt/Vicarius/production/sys/.."],["APP_DIR","/opt/Vicarius/production/sys/../Applications/"],["SYS_DIR","/opt/Vicarius/production/sys/../sys/"],["ROOT_APP","radiochisinau.md"],["HTTP_HOST","radiochisinau.md"],["REQUEST_URI","/cautare/spionaj%20Israel"],["FORCE_APP","radiochisinau.md"],["CONFIG_APP","radiochisinau.md"],["APP","radiochisinau.md"]]} []\n"
]

/opt/Vicarius/production/vendor/monolog/monolog/src/Monolog/Logger.php

     */
    public function addDebug($message, array $context = array())
    {
        return $this->addRecord(static::DEBUG, $message, $context);
    }
 
    /**
     * Adds a log record at the INFO level.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function addInfo($message, array $context = array())
    {
        return $this->addRecord(static::INFO, $message, $context);
    }
 
    /**
     * Adds a log record at the NOTICE level.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function addNotice($message, array $context = array())
    {
        return $this->addRecord(static::NOTICE, $message, $context);
    }
 
    /**

Arguments

#0
200
#1
"system constants"
#2
array:1 [
  "table" => array:10 [
    0 => array:2 [
      0 => "ENVE"
      1 => "devel"
    ]
    1 => array:2 [
      0 => "ROOT_DIR"
      1 => "/opt/Vicarius/production/sys/.."
    ]
    2 => array:2 [
      0 => "APP_DIR"
      1 => "/opt/Vicarius/production/sys/../Applications/"
    ]
    3 => array:2 [
      0 => "SYS_DIR"
      1 => "/opt/Vicarius/production/sys/../sys/"
    ]
    4 => array:2 [
      0 => "ROOT_APP"
      1 => "radiochisinau.md"
    ]
    5 => array:2 [
      0 => "HTTP_HOST"
      1 => "radiochisinau.md"
    ]
    6 => array:2 [
      0 => "REQUEST_URI"
      1 => "/cautare/spionaj%20Israel"
    ]
    7 => array:2 [
      0 => "FORCE_APP"
      1 => "radiochisinau.md"
    ]
    8 => array:2 [
      0 => "CONFIG_APP"
      1 => "radiochisinau.md"
    ]
    9 => array:2 [
      0 => "APP"
      1 => "radiochisinau.md"
    ]
  ]
]

/opt/Vicarius/production/sys/Logger.php

                    ->setRows($array);
                $table->render();
            }
            else
            {
/*                if($this->logLevel == LOGLEVEL_DEBUG)
                {
                    $sqlPrint = [];
                    foreach($array as $sql)
                    {
                        if(isset($sql[2])) $sqlPrint[]=$sql[2];
                    }
                    file_put_contents(ROOT_DIR."/logs/{$this->Logprefix}sql.log",print_r($sqlPrint,true),FILE_APPEND);
                }*/
 
                $this->monolog->addInfo($title,array('table' => $array));
            }
        }
        return $this;
    }
 
    /**
     * @param $message
     *
     * @return $this|void
     * @throws \Vicarius\Error
     * @throws \Vicarius\Exception
     */
    public function info($message, $LogLevel = LOGLEVEL_INFO)
    {
        if( !$this->checkFilters() )

Arguments

#0
"system constants"
#1
array:1 [
  "table" => array:10 [
    0 => array:2 [
      0 => "ENVE"
      1 => "devel"
    ]
    1 => array:2 [
      0 => "ROOT_DIR"
      1 => "/opt/Vicarius/production/sys/.."
    ]
    2 => array:2 [
      0 => "APP_DIR"
      1 => "/opt/Vicarius/production/sys/../Applications/"
    ]
    3 => array:2 [
      0 => "SYS_DIR"
      1 => "/opt/Vicarius/production/sys/../sys/"
    ]
    4 => array:2 [
      0 => "ROOT_APP"
      1 => "radiochisinau.md"
    ]
    5 => array:2 [
      0 => "HTTP_HOST"
      1 => "radiochisinau.md"
    ]
    6 => array:2 [
      0 => "REQUEST_URI"
      1 => "/cautare/spionaj%20Israel"
    ]
    7 => array:2 [
      0 => "FORCE_APP"
      1 => "radiochisinau.md"
    ]
    8 => array:2 [
      0 => "CONFIG_APP"
      1 => "radiochisinau.md"
    ]
    9 => array:2 [
      0 => "APP"
      1 => "radiochisinau.md"
    ]
  ]
]

/opt/Vicarius/production/sys/System.php

        }
 
        public function startWeb()
        {
 
            $this->log->table('system constants',[
                ['ENVE',APPLICATION_ENV],
                ['ROOT_DIR',ROOT_DIR],
                ['APP_DIR',APP_DIR],
                ['SYS_DIR',SYS_DIR],
                ['ROOT_APP',ROOT_APP],
                ['HTTP_HOST',HTTP_HOST],
                ['REQUEST_URI',REQUEST_URI],
                ['FORCE_APP',defined(FORCE_APP) ? FORCE_APP : $_SERVER['FORCE_APP'] ],
                ['CONFIG_APP',CONFIG_APP],
                ['APP',APP],
            ]);
 
            $this->initDB();
 
            $this->plugin = new PluginsLoader();
 
            $router = new \Vicarius\Router();
            $match = $router->match();
 
            $this->slashtrace->recordBreadcrumb("Router loaded");
 
            try
            {
                if (!empty($match['name']))
                {

Arguments

#0
"system constants"
#1
array:10 [
  0 => array:2 [
    0 => "ENVE"
    1 => "devel"
  ]
  1 => array:2 [
    0 => "ROOT_DIR"
    1 => "/opt/Vicarius/production/sys/.."
  ]
  2 => array:2 [
    0 => "APP_DIR"
    1 => "/opt/Vicarius/production/sys/../Applications/"
  ]
  3 => array:2 [
    0 => "SYS_DIR"
    1 => "/opt/Vicarius/production/sys/../sys/"
  ]
  4 => array:2 [
    0 => "ROOT_APP"
    1 => "radiochisinau.md"
  ]
  5 => array:2 [
    0 => "HTTP_HOST"
    1 => "radiochisinau.md"
  ]
  6 => array:2 [
    0 => "REQUEST_URI"
    1 => "/cautare/spionaj%20Israel"
  ]
  7 => array:2 [
    0 => "FORCE_APP"
    1 => "radiochisinau.md"
  ]
  8 => array:2 [
    0 => "CONFIG_APP"
    1 => "radiochisinau.md"
  ]
  9 => array:2 [
    0 => "APP"
    1 => "radiochisinau.md"
  ]
]

/opt/Vicarius/production/public/index.php

<?php
    require_once __DIR__ . '/../sys/init.php';
    $system =  Vicarius\System::getInstance();
    $system->startWeb();
//    $system->action->renderPage();
 
 
 
	

Arguments

No arguments.

GET

No data


POST

No data


Cookies

No data


Headers

Cf-Connecting-Ip 3.21.76.249
User-Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
Accept */*
Cf-Visitor {"scheme":"https"}
X-Forwarded-Proto https
Cf-Ray 88a14d2aefb505b0-IAD
X-Forwarded-For 3.21.76.249
Accept-Encoding gzip, br
Cf-Ipcountry US
Cdn-Loop cloudflare
Host radiochisinau.md
Content-Length
Content-Type
USER nginx
HOME /var/lib/nginx
HTTP_CF_CONNECTING_IP 3.21.76.249
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
HTTP_ACCEPT */*
HTTP_CF_VISITOR {"scheme":"https"}
HTTP_X_FORWARDED_PROTO https
HTTP_CF_RAY 88a14d2aefb505b0-IAD
HTTP_X_FORWARDED_FOR 3.21.76.249
HTTP_ACCEPT_ENCODING gzip, br
HTTP_CF_IPCOUNTRY US
HTTP_CDN_LOOP cloudflare
HTTP_HOST radiochisinau.md
PATH_INFO /cautare/spionaj Israel
REDIRECT_STATUS 200
SERVER_PORT 443
SERVER_ADDR 192.168.10.4
REMOTE_PORT 25944
SERVER_SOFTWARE nginx/1.16.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /opt/Vicarius/production/public
DOCUMENT_URI /cautare/spionaj Israel
REQUEST_URI /cautare/spionaj%20Israel
SCRIPT_NAME /cautare/spionaj Israel
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SERVER_NAME radiochisinau.md
APPLICATION_ENV production
ROOT_APP radiochisinau.md
FORCE_APP radiochisinau.md
SCRIPT_FILENAME /opt/Vicarius/production/public/index.php
REMOTE_ADDR 172.70.42.27
FCGI_ROLE RESPONDER
PHP_SELF /cautare/spionaj Israel/cautare/spionaj Israel
REQUEST_TIME_FLOAT 1716763588,1746
REQUEST_TIME 1716763588